package roborally.filters;

import roborally.model.Element;

/**
 * A class to check whether a given object 
 * satisfies a certain condition.
 * 
 * @version 1.0
 * @author  Pieter Robberechts	(1e Bach Informatica)
 * @author	Jeroen Sanders		(1e Bach Informatica)
 */
public abstract class ConditionEvaluator {

	/**
	 * Return the boolean value resulting from applying 
	 * this condition evaluator to the given object.
	 * 
	 * @param   object
	 *          The object to evaluate.
	 * @return	Return false if the given object is 'null'.         
	 */
	public abstract boolean isTrue(Element object);
}
